send notification php to PC

36

use Joli\JoliNotif\Notification;

if ($notifier) {
    $notification =
        (new Notification())
        ->setBody('The notification body')
        ->setTitle('The notification title')
        ->setIcon(__DIR__.'/Resources/icons/success.png');
    ;

    $notifier->send($notification);
}

Comments

Submit
0 Comments